listitemwidget: Don't look at rubberbanding
authorMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2020 04:23:04 +0000 (00:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2020 04:23:04 +0000 (00:23 -0400)
commit9fa65eadae5a2b8555e8cfdf214e0c11038625af
treefb4ebd1824115edec6dc1b2edec3cb0fcab8a68b
parentfacfff0022ffb46e6c09d815521c76532030e85b
listitemwidget: Don't look at rubberbanding

Move the selection changes to button release, to
avoid conflict with the drag gesture for rubberbanding.
This avoids peeking at the parent, and is generally
nicer.

Among other things, you can now shift-click to select
a range in the colors demo in gtk4-demo.
gtk/gtklistitemwidget.c